import axios from '../utils/axios';

export interface UserProfile {
  username: string;
  account: string;
  personality?: string;
  createdAt: string;
}

export const getUserProfile = () => {
  return axios.get<UserProfile>('/users/profile');
};
